﻿using CnBlogsCore.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace CnBlogsCore.Interface
{
    public interface INewsService
    {
        List<News> GetRecentNews(string token, string tokenType, int pageIndex, int pageSize);

        List<News> GetWeekHotNews(string token, string tokenType, int pageIndex, int pageSize);

        List<News> GetRecommendedNews(string token, string tokenType, int pageIndex, int pageSize);

        string GetNewsDetail(string token, string tokenType, int id);

    }
}
